module.exports = class extends think.Logic {
    indexAction() {
        this.rules = {
            cid: {
                required: true,
                aliasName: 'cid'
            },
            title: {
                required: true,
                aliasName: '通知标题'
            },
            body: {
                required: true,
                aliasName: '通知内容'
            },
            url: {
                required: true,
                aliasName: 'url'
            }
        }
    }
};
